<div class="card w-75 mb-3">
  <div class="text">
    这是一个父组件传入内容
    <ng-content></ng-content>
  </div>
  <div class="modal-body">
    <ng-content select="[attr]"></ng-content>
    <hr>
    <ng-content select="article"></ng-content>
    <hr>
    <ng-content select=".fromClass"></ng-content>
    <hr>
    <ng-content select="#fromId"></ng-content>
    <hr>
    <ng-content></ng-content>
    <hr>
    <ng-content select="head1"></ng-content>
    <hr>
    <ng-content select="#other1"></ng-content>
    <hr>
    <ng-content select=".btn .btn-danger"></ng-content>
    <hr>
    <ng-content select=".btn .btn-danger"></ng-content>
    <hr>
  </div>
</div>